﻿using System.Data.Entity;
using AutoClub.Core.Domain;

namespace AutoClub.Core.Dao
{
    public class AutoClubDataContext : DbContext
    {
        #region Database Sets

        public DbSet<Mechanic> Mechanics { get; set; }

        public DbSet<Race> Races { get; set; }

        public DbSet<User> Users { get; set; }

        public DbSet<RaceMechanic> RaceMechanics { get; set; }

        public DbSet<CarCategory> CarCategories { get; set; }

        public DbSet<RaceState> RaceStates { get; set; }

        public DbSet<UserRol> UserRoles { get; set; }

        #endregion

    }
}
